import {axios} from '@/utils/request'
/**
 * 资讯发布
 * */

// 添加
export function insertInfoContentE (model) {
  return axios({
    url: '/infoContentE/insert',
    method: 'post',
    data: model
  })
}

// 查询
export function queryInfoContentE (model) {
  return axios({
    url: '/infoContentE/query',
    method: 'post',
    data: model
  })
}

// 修改
export function editInfoContentE (model) {
  return axios({
    url: '/infoContentE/up/{id}',
    method: 'post',
    data: model
  })
}

// 删除
export function deleteInfoContentE (id) {
  return axios({
    url: '/infoContentE/delete/'+id,
    method: 'post'
  })
}